﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @* @Scripts.Render("~/bundles/modernizr")*@
  @*  @Scripts.Render("~/bundles/jquery")*@

    @using Common.ClassExpand;
    @using Models.System;

    @{
        User user = this.ViewContext.Controller.ControllerContext.GetSession<User>("UserInfo");
 }
</head>
<body>
    <header>
        <div class="content-wrapper">
            <div class="float-left">
                <p class="site-title">
                    <a href="~/">ASP.NET Web API</a>
                </p>
            </div>
            <div class="float-right">
                <nav>
                    <ul id="menu">
                        <li>@Html.ActionLink("主页", "Index", "Home", new { area = "" }, null)</li>
                        <li>@Html.ActionLink("API", "Index", "Help", new { area = "" }, null)</li>
                    </ul>
                </nav>
            </div>
            <div class="float-right">
                <span>欢迎你: @user.NickName</span>
                <span>@Html.ActionLink("退出", "Logout", "Login")</span>
            </div>
        </div>

    </header>
    @RenderBody()

    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)
</body>
</html>
